Skip to content

Fixes for comparing and avoiding singletons #1458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 21, 2016

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Aug 18, 2016

Two interesting problems involving singleton types exhibited by one test case. Review by @smarter.

Needed to address problem shown by z1720.scala.
Another fix to avoidance is needed to make it pass completely.
Bring in line with comparisons. Fixes z1720 for good.
@@ -1,4 +0,0 @@
trait F[@specialized(Int) T1, R] {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were the files in this directory deleted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was an oversight. I'll add spec-t5545l to tests.

Needs to be done in pos-special because junit tests do not recognize _1, _2.
@smarter
Copy link
Member

smarter commented Aug 21, 2016

LGTM

@smarter smarter merged commit f19b6dd into scala:master Aug 21, 2016
@allanrenucci allanrenucci deleted the fix-compare-singletons branch December 14, 2017 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants